let btDom = document.querySelector('.btn-login')

btDom.onclick =function(){
    let inputUname = document.querySelector('.Uname')
    let inputPwd = document.querySelector('.Pwd')

    if(inputUname.value=='bj031129'&& inputPwd.value =='wxndmn'){
        console.log('登录成功')
        window.location.href= 'webpage.html'
    }else{
        console.log('登录失败')
        alert('登陆失败')
    }
}